<?xml version="1.0" encoding="UTF-8"?>

<!-- This file contains job definitions in schema version 2.0 format -->

<job-scheduling-data xmlns="http://quartznet.sourceforge.net/JobSchedulingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0">

  <processing-directives>
    <overwrite-existing-data>true</overwrite-existing-data>
  </processing-directives>

  <schedule>
    <job>
      <name>BOSyncJob</name>
      <group>BOSyncGroup</group>
      <description>Deppon BO Incident Sync Job</description>
      <job-type>Wicresoft.EKA.BOSync.BOSyncTask, Wicresoft.EKA.BOSync</job-type>
      <durable>true</durable>
      <recover>false</recover>
    </job>

    <trigger>
      <cron>
        <name>BOSyncTaskTrigger</name>
        <group>BOSyncGroup</group>
        <description>Deppon BO Incident Sync Trigger </description>
        <job-name>BOSyncJob</job-name>
        <job-group>BOSyncGroup</job-group>
        <misfire-instruction>SmartPolicy</misfire-instruction>

        <!--一分钟    8点-18点（0 0/1 8-18 * * ?）-->
        <!--五分钟    8点-18点（0 0/5 8-18 * * ?）-->
        <!--半小时    8点-18点（0 0/30 8-18 * * ?）-->
        <!--每天      凌晨2点 （0 0 2 ? * *）-->
        <!--每周天    凌晨2点 （0 0 2 ? * 6）-->
        <cron-expression>0 57 11 ? * *</cron-expression>
        <!--每天凌晨1点-->
      </cron>
    </trigger>
    
    <!--<job>
      <name>EmployeeSyncJob</name>
      <group>EmployeeSyncGroup</group>
      <description>Deppon Employee Sync Job</description>
      <job-type>Wicresoft.Task.EmployeeSync.EmployeeSyncTask, Wicresoft.Task.EmployeeSync</job-type>
      <durable>true</durable>
      <recover>false</recover>
    </job>

    <trigger>
      <cron>
        <name>EmployeeSyncTaskTrigger</name>
        <group>EmployeeSyncGroup</group>
        <description>Deppon Employee Sync Trigger </description>
        <job-name>EmployeeSyncJob</job-name>
        <job-group>EmployeeSyncGroup</job-group>
        <misfire-instruction>SmartPolicy</misfire-instruction>

        --><!--一分钟    8点-18点（0 0/1 8-18 * * ?）--><!--
        --><!--五分钟    8点-18点（0 0/5 8-18 * * ?）--><!--
        --><!--半小时    8点-18点（0 0/30 8-18 * * ?）--><!--
        --><!--每天      凌晨2点 （0 0 2 ? * *）--><!--
        --><!--每周天    凌晨2点 （0 0 2 ? * 6）--><!--
        <cron-expression>0 0 1 ? * *</cron-expression> --><!--每天凌晨1点--><!--
      </cron>
    </trigger>-->
    
  </schedule>
</job-scheduling-data>